package com.eduhzy.ttw.commonsdk.entity;

/**
 * @author xubo
 * @date 2018/12/25 12:21
 */
public class LatestMsg {


    /**
     * unreadValidateMsgCount : 0
     * validateMsg : {"appId":2,"content":"马龙申请加入理学3班","dealStatus":1,"hasRead":1,"inboxId":"1076042615694204930","linkBack":"[{\"code\":\"agree\",\"name\":\"同意\",\"params\":{\"id\":62,\"accessUserId\":418952,\"  teacherId\":404593},\"type\":\"api\",\"url\":\"http://47.100.189.167:8080/dec/base/class/joinedClassByMa  nager.jspx\"}]","linkUrl":"","messageTypeId":400,"msgId":1076042615610318849,"openType":"local","readingDate":1545383542000,"sendDate":1545383526000,"senderId":0,"senderRealName":"系统","tag":"","title":"班级提醒"}
     * systemMsg : {"appId":2,"content":"kjhgfbdsvc创建成功，班级号100069，你可以邀请老师和学生加入","dealStatus":0,"hasRead":1,"inboxId":"1077126229458591745","linkUrl":"","messageTypeId":0,"msgId":1077126229387288578,"openType":"local","readingDate":1545710096000,"sendDate":1545641880000,"senderId":0,"senderRealName":"系统","tag":"","title":"班级提醒"}
     * unreadSystemMsgCount : 0
     */

    private int unreadValidateMsgCount;
    private ValidateMsgBean validateMsg;
    private SystemMsgBean systemMsg;
    private int unreadSystemMsgCount;

    public int getUnreadValidateMsgCount() {
        return unreadValidateMsgCount;
    }

    public void setUnreadValidateMsgCount(int unreadValidateMsgCount) {
        this.unreadValidateMsgCount = unreadValidateMsgCount;
    }

    public ValidateMsgBean getValidateMsg() {
        return validateMsg;
    }

    public void setValidateMsg(ValidateMsgBean validateMsg) {
        this.validateMsg = validateMsg;
    }

    public SystemMsgBean getSystemMsg() {
        return systemMsg;
    }

    public void setSystemMsg(SystemMsgBean systemMsg) {
        this.systemMsg = systemMsg;
    }

    public int getUnreadSystemMsgCount() {
        return unreadSystemMsgCount;
    }

    public void setUnreadSystemMsgCount(int unreadSystemMsgCount) {
        this.unreadSystemMsgCount = unreadSystemMsgCount;
    }

    public static class ValidateMsgBean {
        /**
         * appId : 2
         * content : 马龙申请加入理学3班
         * dealStatus : 1
         * hasRead : 1
         * inboxId : 1076042615694204930
         * linkBack : [{"code":"agree","name":"同意","params":{"id":62,"accessUserId":418952,"  teacherId":404593},"type":"api","url":"http://47.100.189.167:8080/dec/base/class/joinedClassByMa  nager.jspx"}]
         * linkUrl :
         * messageTypeId : 400
         * msgId : 1076042615610318849
         * openType : local
         * readingDate : 1545383542000
         * sendDate : 1545383526000
         * senderId : 0
         * senderRealName : 系统
         * tag :
         * title : 班级提醒
         */

        private int appId;
        private String content;
        private int dealStatus;
        private int hasRead;
        private String inboxId;
        private String linkBack;
        private String linkUrl;
        private int messageTypeId;
        private long msgId;
        private String openType;
        private long readingDate;
        private long sendDate;
        private int senderId;
        private String senderRealName;
        private String tag;
        private String title;

        public int getAppId() {
            return appId;
        }

        public void setAppId(int appId) {
            this.appId = appId;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getDealStatus() {
            return dealStatus;
        }

        public void setDealStatus(int dealStatus) {
            this.dealStatus = dealStatus;
        }

        public int getHasRead() {
            return hasRead;
        }

        public void setHasRead(int hasRead) {
            this.hasRead = hasRead;
        }

        public String getInboxId() {
            return inboxId;
        }

        public void setInboxId(String inboxId) {
            this.inboxId = inboxId;
        }

        public String getLinkBack() {
            return linkBack;
        }

        public void setLinkBack(String linkBack) {
            this.linkBack = linkBack;
        }

        public String getLinkUrl() {
            return linkUrl;
        }

        public void setLinkUrl(String linkUrl) {
            this.linkUrl = linkUrl;
        }

        public int getMessageTypeId() {
            return messageTypeId;
        }

        public void setMessageTypeId(int messageTypeId) {
            this.messageTypeId = messageTypeId;
        }

        public long getMsgId() {
            return msgId;
        }

        public void setMsgId(long msgId) {
            this.msgId = msgId;
        }

        public String getOpenType() {
            return openType;
        }

        public void setOpenType(String openType) {
            this.openType = openType;
        }

        public long getReadingDate() {
            return readingDate;
        }

        public void setReadingDate(long readingDate) {
            this.readingDate = readingDate;
        }

        public long getSendDate() {
            return sendDate;
        }

        public void setSendDate(long sendDate) {
            this.sendDate = sendDate;
        }

        public int getSenderId() {
            return senderId;
        }

        public void setSenderId(int senderId) {
            this.senderId = senderId;
        }

        public String getSenderRealName() {
            return senderRealName;
        }

        public void setSenderRealName(String senderRealName) {
            this.senderRealName = senderRealName;
        }

        public String getTag() {
            return tag;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

    public static class SystemMsgBean {
        /**
         * appId : 2
         * content : kjhgfbdsvc创建成功，班级号100069，你可以邀请老师和学生加入
         * dealStatus : 0
         * hasRead : 1
         * inboxId : 1077126229458591745
         * linkUrl :
         * messageTypeId : 0
         * msgId : 1077126229387288578
         * openType : local
         * readingDate : 1545710096000
         * sendDate : 1545641880000
         * senderId : 0
         * senderRealName : 系统
         * tag :
         * title : 班级提醒
         */

        private int appId;
        private String content;
        private int dealStatus;
        private int hasRead;
        private String inboxId;
        private String linkUrl;
        private int messageTypeId;
        private long msgId;
        private String openType;
        private long readingDate;
        private long sendDate;
        private int senderId;
        private String senderRealName;
        private String tag;
        private String title;

        public int getAppId() {
            return appId;
        }

        public void setAppId(int appId) {
            this.appId = appId;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getDealStatus() {
            return dealStatus;
        }

        public void setDealStatus(int dealStatus) {
            this.dealStatus = dealStatus;
        }

        public int getHasRead() {
            return hasRead;
        }

        public void setHasRead(int hasRead) {
            this.hasRead = hasRead;
        }

        public String getInboxId() {
            return inboxId;
        }

        public void setInboxId(String inboxId) {
            this.inboxId = inboxId;
        }

        public String getLinkUrl() {
            return linkUrl;
        }

        public void setLinkUrl(String linkUrl) {
            this.linkUrl = linkUrl;
        }

        public int getMessageTypeId() {
            return messageTypeId;
        }

        public void setMessageTypeId(int messageTypeId) {
            this.messageTypeId = messageTypeId;
        }

        public long getMsgId() {
            return msgId;
        }

        public void setMsgId(long msgId) {
            this.msgId = msgId;
        }

        public String getOpenType() {
            return openType;
        }

        public void setOpenType(String openType) {
            this.openType = openType;
        }

        public long getReadingDate() {
            return readingDate;
        }

        public void setReadingDate(long readingDate) {
            this.readingDate = readingDate;
        }

        public long getSendDate() {
            return sendDate;
        }

        public void setSendDate(long sendDate) {
            this.sendDate = sendDate;
        }

        public int getSenderId() {
            return senderId;
        }

        public void setSenderId(int senderId) {
            this.senderId = senderId;
        }

        public String getSenderRealName() {
            return senderRealName;
        }

        public void setSenderRealName(String senderRealName) {
            this.senderRealName = senderRealName;
        }

        public String getTag() {
            return tag;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
